home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Resources / Online / Miami / MiamiSDK / netinclude / bsdsocket / miamisysctl.h next >
C/C++ Source or Header  |  1997-12-04  |  696b  |  43 lines

  1. #ifndef _BSDSOCKET_MIAMISYSCTL_H_
  2. #define _BSDSOCKET_MIAMISYSCTL_H_
  3.  
  4. #ifndef _SYS_SYSCTL_H_
  5. #include <sys/sysctl.h>
  6. #endif
  7.  
  8. #define DNS_MAXID    1
  9.  
  10. #define CTL_DNS_NAMES { \
  11.     {"cache",CTLTYPE_NODE }, \
  12.     { 0, 0 }, \
  13. }
  14.  
  15. #define DNSCACHE_MAXID    3
  16.  
  17. #define CTL_DNSCACHE_NAMES { \
  18.     {"size",CTLTYPE_INT }, \
  19.     {"flush",CTLTYPE_INT }, \
  20.     {"enabled",CTLTYPE_INT }, \
  21.     { 0, 0 }, \
  22. }
  23.  
  24. #define INETD_MAXID    5
  25.  
  26. #define CTL_INETD_NAMES { \
  27.     {"retrytime",CTLTYPE_INT }, \
  28.     {"toomany",CTLTYPE_INT }, \
  29.     {"cntintvl",CTLTYPE_INT }, \
  30.     {"maxbuiltin",CTLTYPE_INT }, \
  31.     {"processpri",CTLTYPE_INT }, \
  32.     { 0, 0 }, \
  33. }
  34.  
  35. #define SOCKET_MAXID    1
  36.  
  37. #define CTL_SOCKET_NAMES { \
  38.     {"maxqlen",CTLTYPE_INT }, \
  39.     { 0, 0 }, \
  40. }
  41.  
  42. #endif
  43.